<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="./js/vue.js"></script>
<style>
    [v-cloak]{
        display: none;
    }
</style>
<body>
    <div class="box" v-cloak>
        <input type="text" v-model="msg">
        <h1>{{msg}}</h1>
    </div>
    <script>
        /* 
        v-text
        v-html
        v-once
        v-bind
        v-if 
        v-else
        v-else-if
        v-show
        v-for
        v-model
        v-cloak 帮助解决 {{}}闪烁问题
        v-on
        
        
        
        */
        const vm = new Vue({
            el:'.box',
            data:{
                msg:'王洋洋'
            }
        })
    </script>
</body>
</html>